#include "globalval.h"

MqttHandler *GlobalVal::mqtt = NULL;

GlobalVal::GlobalVal()
{

}

void GlobalVal::setValue(int k,QString v)
{
     for(int i = 0;i < 14;i++ )
     {
        if(buf[i].key==k)
        {
             buf[i].val=v;
        }
     }
}
